home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / CXX / all.makefile next >
Encoding:
Makefile  |  2000-05-25  |  733 b   |  34 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory CXX
  7. # using the all compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f all.makefile
  11.  
  12. .SUFFIXES : .obj .cpp .c
  13. .cpp.obj :
  14.     $(CPP) $(CPPFLAGS) -c $<
  15. .c.obj :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17.  
  18. all: \
  19.     BikeTest.exe 
  20.  
  21. test: all 
  22.     BikeTest.exe  
  23.  
  24. bugs: 
  25.     @echo No compiler bugs in this directory!
  26.  
  27. BikeTest.exe: BikeTest.obj Bicycle.obj 
  28.     $(CPP) $(OFLAG)BikeTest.exe BikeTest.obj Bicycle.obj 
  29.  
  30.  
  31. Bicycle.obj: Bicycle.cpp Bicycle.h 
  32. BikeTest.obj: BikeTest.cpp Bicycle.h 
  33.  
  34.